package com.hewep.demo.device.mina.core;

import java.lang.reflect.Method;

public class Action {
	private final Class<? extends Controller> controllerClass;
	private final String command;	
	private final Method method;
	private final String methodName;
	
	public Action(String command, Class<? extends Controller> controllerClass,Method method,String methodName) {
		super();
		this.controllerClass = controllerClass;
		this.command = command;
		this.method = method;
		this.methodName = methodName;
	}
	
	public Class<? extends Controller> getControllerClass() {
		return controllerClass;
	}
	
	public String getCommand() {
		return command;
	}	
	
	public Method getMethod() {
		return method;
	}
	
	public String getMethodName() {
		return methodName;
	}
}
